package com.vcredit.creditcat.model;

import scala.Int;

import java.io.Serializable;
import java.util.Date;

/*
 * @author zhangxingong
 * @version 1.0
 * @since 1.0
*/
public class MerchantProduct implements Serializable {

  private static final long serialVersionUID = 1L;
  /**
   * product_id
   */
  private Long productId;
  /**
   * merchant_id
   */
  private Long merchantId;
  /**
   * 产品名称
   */
  private String productName;
  /**
   * 最高额度
   */
  private Integer productMaxcredit;
  /**
   * 最低额度
   */
  private Integer productMincredit;
  /**
   * 参考费率
   */
  private String productRate;
  /**
   * 参考期限
   */
  private String productPeriod;
  /**
   * 申请人数
   */
  private String productApplycount;
  /**
   * 产品简介
   */
  private String productDesc;
  /**
   * 产品链接
   */
  private String productUri;
  /**
   * 产品icon
   */
  private String productIcon;
  /**
   * 产品详情
   */
  private String productMemo;
  /**
   * 产品申请条件
   */
  private String productApplycondition;
  /**
   * 是否热门贷款
   */
  private Boolean isHot;
  /**
   * 产品类型(0:现金;1还信用卡;2购物消费)
   */
  private Integer productType;
  /**
   * 产品标签
   */
  private String tag;
  /**
   * 是否技术对接
   */
  private Boolean isTechnical;
  /**
   * 竞价
   */
  private Integer bidding;
  /**
   * 成功率
   */
  private String successRate;
  /**
   * 创建时间
   */
  private Date createTime;
  /**
   * 最后更新时间
   */
  private Date updateTime;

  /**
   * 主键ID
   */
  private Long productBusinessId;
  /**
   * 对接开始时间
   */
  private Date businessStartDate;
  /**
   * 合同开始时间
   */
  private Date contractStartDate;
  /**
   * 合同完成时间
   */
  private Date contractEndDate;
  /**
   * 准备上线时间
   */
  private Date prepareOnlineDate;
  /**
   * 上线开始时间
   */
  private Date onlineStartDate;
  /**
   * 下线时间
   */
  private Date onlineEndDate;
  /**
   * 上线状态
   */
  private Integer onlineStatus;
  /**
   * 备注
   */
  private String remarks;

  public MerchantProduct() {
  }

  public MerchantProduct(Boolean isTechnical) {
    super();
    this.isTechnical = isTechnical;
  }

  public Long getProductId() {
    return this.productId;
  }

  public void setProductId(Long productId) {
    this.productId = productId;
  }

  public Long getMerchantId() {
    return this.merchantId;
  }

  public void setMerchantId(Long merchantId) {
    this.merchantId = merchantId;
  }

  public String getProductName() {
    return this.productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }

  public Integer getProductMaxcredit() {
    return this.productMaxcredit;
  }

  public void setProductMaxcredit(Integer productMaxcredit) {
    this.productMaxcredit = productMaxcredit;
  }

  public Integer getProductMincredit() {
    return this.productMincredit;
  }

  public void setProductMincredit(Integer productMincredit) {
    this.productMincredit = productMincredit;
  }

  public String getProductRate() {
    return this.productRate;
  }

  public void setProductRate(String productRate) {
    this.productRate = productRate;
  }

  public String getProductPeriod() {
    return this.productPeriod;
  }

  public void setProductPeriod(String productPeriod) {
    this.productPeriod = productPeriod;
  }

  public String getProductApplycount() {
    return this.productApplycount;
  }

  public void setProductApplycount(String productApplycount) {
    this.productApplycount = productApplycount;
  }

  public String getProductDesc() {
    return this.productDesc;
  }

  public void setProductDesc(String productDesc) {
    this.productDesc = productDesc;
  }

  public String getProductUri() {
    return this.productUri;
  }

  public void setProductUri(String productUri) {
    this.productUri = productUri;
  }

  public String getProductIcon() {
    return this.productIcon;
  }

  public void setProductIcon(String productIcon) {
    this.productIcon = productIcon;
  }

  public String getProductMemo() {
    return this.productMemo;
  }

  public void setProductMemo(String productMemo) {
    this.productMemo = productMemo;
  }

  public String getProductApplycondition() {
    return this.productApplycondition;
  }

  public void setProductApplycondition(String productApplycondition) {
    this.productApplycondition = productApplycondition;
  }

  public Boolean getIsHot() {
    return this.isHot;
  }

  public void setIsHot(Boolean isHot) {
    this.isHot = isHot;
  }

  public Integer getProductType() {
    return this.productType;
  }

  public void setProductType(Integer productType) {
    this.productType = productType;
  }

  public String getTag() {
    return this.tag;
  }

  public void setTag(String tag) {
    this.tag = tag;
  }

  public Boolean getIsTechnical() {
    return this.isTechnical;
  }

  public void setIsTechnical(Boolean isTechnical) {
    this.isTechnical = isTechnical;
  }

  public Integer getBidding() {
    return this.bidding;
  }

  public void setBidding(Integer bidding) {
    this.bidding = bidding;
  }

  public String getSuccessRate() {
    return this.successRate;
  }

  public void setSuccessRate(String successRate) {
    this.successRate = successRate;
  }

  public Date getCreateTime() {
    return this.createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getUpdateTime() {
    return this.updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public Integer getHot() {
    return isHot ? 1 : 0;
  }

  public void setHot(Integer hot) {
    this.isHot = hot == 1 ? true : false;
  }

  public Integer getTechnical() {
    return isTechnical?1:0;
  }

  public void setTechnical(Integer technical) {
    isTechnical = technical == 1 ? true : false;
  }

  public Long getProductBusinessId() {
    return productBusinessId;
  }

  public void setProductBusinessId(Long productBusinessId) {
    this.productBusinessId = productBusinessId;
  }

  public Date getBusinessStartDate() {
    return businessStartDate;
  }

  public void setBusinessStartDate(Date businessStartDate) {
    this.businessStartDate = businessStartDate;
  }

  public Date getContractStartDate() {
    return contractStartDate;
  }

  public void setContractStartDate(Date contractStartDate) {
    this.contractStartDate = contractStartDate;
  }

  public Date getContractEndDate() {
    return contractEndDate;
  }

  public void setContractEndDate(Date contractEndDate) {
    this.contractEndDate = contractEndDate;
  }

  public Date getPrepareOnlineDate() {
    return prepareOnlineDate;
  }

  public void setPrepareOnlineDate(Date prepareOnlineDate) {
    this.prepareOnlineDate = prepareOnlineDate;
  }

  public Date getOnlineStartDate() {
    return onlineStartDate;
  }

  public void setOnlineStartDate(Date onlineStartDate) {
    this.onlineStartDate = onlineStartDate;
  }

  public Date getOnlineEndDate() {
    return onlineEndDate;
  }

  public void setOnlineEndDate(Date onlineEndDate) {
    this.onlineEndDate = onlineEndDate;
  }

  public Integer getOnlineStatus() {
    return onlineStatus;
  }

  public void setOnlineStatus(Integer onlineStatus) {
    this.onlineStatus = onlineStatus;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }
}